package com.probox.common.entity.domain.wechat.PayAudit.contactInfo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 超级管理员信息
 * @author Kite
 * @date 2021/6/28
 */
@Data
public class ContactInfo implements Serializable {
    /**
     * 超级管理员姓名
     */
    private  String contact_name;

    /**
     * 超级管理员身份证件号码
     */
    private String contact_id_number;

    /**
     * 超级管理员微信openid
     */
    private String openid;

    /**
     * 联系手机
     */
    @NotBlank(message = "联系手机不能为空")
    private String mobile_phone;

    /**
     * 联系邮箱
     */
    @Email(message = "请填写正确邮箱")
    private String contact_email;

    public ContactInfo(String contact_name, String contact_id_number, String openid, String mobile_phone, String contact_email) {
        this.contact_name = contact_name;
        this.contact_id_number = contact_id_number;
        this.openid = openid;
        this.mobile_phone = mobile_phone;
        this.contact_email = contact_email;
    }

    public ContactInfo() { }
}
